import request from '@/utils/request'

export function listtsPack(query) {
  return request({
    url: '/container/tsPack/list',
    method: 'get',
    params: query
  })
}

export function createtsPack(data) {
  return request({
    url: '/container/tsPack/create',
    method: 'post',
    data
  })
}

export function readtsPack(data) {
  return request({
    url: '/container/tsPack/get/' + data.id,
    method: 'get'
  })
}

export function updatetsPack(data) {
  return request({
    url: '/container/tsPack/update',
    method: 'post',
    data
  })
}

export function deletetsPack(data) {
  return request({
    url: '/container/tsPack/delete?fpackno=' + data.fpackno +'&fsiteNo=' + data.fsiteNo,
    method: 'get'
  })
}

export function getAnyList(query) {
  return request({
    url: '/data/area/getAnyList',
    method: 'get',
    params: query
  })
}


